<template>
  <hello-three @on-click="onClick" 
    @on-mousedown="onMouseDown" 
    @on-mousemove="onMouseMove"
    @on-mouseup="onMouseUp">
  </hello-three>
</template>

<script>

import HelloThree from './HelloThree.vue';

export default {
  name: 'HelloWorld',
  props: {
  },
  components: {
    HelloThree
  },
  methods: {
    onClick(intersected) {
      console.log("onClick intersected=" + intersected);
    },
    onMouseDown(intersected) {
      console.log("onMouseDown intersected=" + intersected);
    },
    onMouseMove(intersected) {
      console.log("onMouseMove intersected=" + intersected);
    },
    onMouseUp(intersected) {
      console.log("onMouseUp intersected=" + intersected);
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>
